/*
 * Copyright (c) 2007 jNetX.
 * http://www.jnetx.com
 * All rights reserved.
 *
 * This software is the confidential and proprietary information of
 * jNetX. You shall not disclose such Confidential Information and
 * shall use it only in accordance with the terms of the license
 * agreement you entered into with jNetX.
 *
 * $Id$
 */
package com.jnetx.javax.sip.address;

import javax.sip.address.URI;
import java.text.ParseException;

/**
 * @author <a href="mailto:dparhonin@jnetx.ru">Dmitry Parhonin</a>
 * @version $Revision$
 */
public interface URIParser<T extends URI> {
    public T parse(byte[] uriData, int start, int end) throws ParseException;
    public T parse(byte[] uriData, int start, int end, T uriObject) throws ParseException;
}
/*
 * $Log$
 */